import Vue from "vue";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import store from "./store";

import VueMeta from "vue-meta";
Vue.use(VueMeta);

import VueCookie from "vue-cookie";
Vue.use(VueCookie);

// import "font-awesome/css/font-awesome.css";

import components from "./components/index";
components.forEach((component) => {
    const { name } = component;
    if (name) Vue.component(component.name, component);
});

Vue.config.productionTip = false;

import "./utils/request";
import "./plugins/element.js";

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");
